rem compile the server-side code, i.e. the servlet
mkdir bin
@javac -d bin -cp "src;libs/mysql-connector-java-5.0.7-bin.jar;libs/jmaki-charting-gwt.jar;C:/Program Files/gwt-windows-1.4.61/gwt-user.jar;C:/Program Files/gwt-windows-1.4.61/gwt-dev-windows.jar" src/org/macdadi/ks/server/*

rem using the gwt compiler, compile the client
@java -cp "%~dp0\src;%~dp0\libs\mysql-connector-java-5.0.7-bin.jar;%~dp0\libs\jmaki-charting-gwt.jar;%~dp0\bin;C:/Program Files/gwt-windows-1.4.61/gwt-user.jar;C:/Program Files/gwt-windows-1.4.61/gwt-dev-windows.jar" com.google.gwt.dev.GWTCompiler -out "%~dp0\www" %* org.macdadi.ks.Main
